package com.monitor.modelDesc;

import lombok.Data;
import com.monitor.model.PermissionGroup;


import com.monitor.enums.PermissionGroupShowFlagEnum;
import com.monitor.enums.PermissionGroupDelFlagEnum;

/**
*    @author afeng
*    @Date 2025-03-17 10:50:14
*    @description PermissionGroupDesc      权限组
*/
@Data
public class PermissionGroupDesc extends PermissionGroup {


    private String showFlagDesc;
    private String delFlagDesc;

    public String getShowFlagDesc() {
        showFlagDesc=PermissionGroupShowFlagEnum.getDescByType(getShowFlag());
        return showFlagDesc;
    }
    public String getDelFlagDesc() {
        delFlagDesc=PermissionGroupDelFlagEnum.getDescByType(getDelFlag());
        return delFlagDesc;
    }
}

